//
//  KWMAPIManager.h
//  iXiaoWeiOA
//
//  Created by kevin on 3/14/15.
//  Copyright (c) 2015 kollway. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "AFNetworking.h"
#import "KWMRequestListResult.h"
#import "KWMRequestResult.h"

#define KWM_PAGE_SIZE 20
#define SESSID                          @"PHPSESSID"

//#define API_DOMAIN                        @"192.168.0.2:8001"
#define API_DOMAIN                        @"519app.kollway.com"

//#define API_HOST                          @"192.168.0.2:8001"
#define API_HOST                          @"519app.kollway.com"

@interface KWMAPIManager : NSObject

@property (nonatomic) NSString *baseUrl;

+ (KWMAPIManager *)sharedManager;
- (NSString *)toAbsoluteUrl:(NSString *)relativeUrl;
- (void)setSessionId:(NSString *)value;
- (NSString *)sessionId;


@end
